package com.lyy.controller;

import com.lyy.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Liangyaoyun
 */
@RestController
@RequestMapping("api/v1")
public class HelloServiceController {
    @Autowired
    private HelloService helloService;
    @RequestMapping("/exe")
    public Object test(){
        return helloService.insert();
    }
}
